package org.electric.service;

import java.util.List;
import org.electric.bean.CompanyExamineBean;
import org.electric.dao.CompanyExamineDao;

public class CompanyExamineService {
	CompanyExamineDao ced = new CompanyExamineDao();

	/**
	 * 查询
	 */
	public List<CompanyExamineBean> AllCompanyExamine_s() {
		List<CompanyExamineBean> list = ced.AllCompanyExamine_d();
		return list;
	}

	/**
	 * 修改
	 */
	public boolean UpCompany_s() {
		boolean flg = false;
		CompanyExamineBean ceb = new CompanyExamineBean();
		int Company = ced.UpCompany_d(ceb.getLicense_id());
		if (Company!=0) {
			flg = true;
		}
		return flg;
	}
}
